Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
cli-check-node
Advanced tools
Check the installed Node.js version and exit as per the required Node.js version.
Check the installed Node.js version and exit as per the required Node.js version.
npm install cli-check-node
const checkNode = require('cli-check-node');
checkNode('13'); // Fails the script if current node version is less than 13.
Type: string
Type: object
Default: {fail: true}
(optional)
You can specify the options below.
Type: boolean
Default: true
(optional)
checkNode('13', {fail: false});
// Notifies if current node version is less than 13. Does NOT fail.
KEY: 📦 NEW
, 👌 IMPROVE
, 🐛 FIX
, 📖 DOC
, 🚀 RELEASE
, and ✅ TEST
I use Emoji-log, you should try it and simplify your git commits.
(follow) To stay up to date on free & open-source software
(follow) To get #OneDevMinute daily hot tips & trolls
(subscribe) To tech talks & #OneDevMinute videos
Me (Ahmad Awais) and my incredible wife (Maedah Batool) are two engineers who fell in love with open source and then with each other. You can read more about me here. If you or your company use any of my projects or like what I’m doing then consider backing me. I'm in this for the long run. An open-source developer advocate.
Or you can back me by checking out my super fun video course. As developers, we spend over 200 Hrs/month with our code editors — it's only fair to learn your next editor deeply. This course will save you 15-20 hours every month. Become a VSCode Power User →
FAQs
Check the installed Node.js version and exit as per the required Node.js version.
The npm package cli-check-node receives a total of 31,271 weekly downloads. As such, cli-check-node popularity was classified as popular.
We found that cli-check-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.